package com.ljt.realtimebusCC.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 车辆到站时间预测
 * @TableName arrival_time
 */
@TableName(value ="arrival_time")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArrivalTime implements Serializable {
    /**
     * 
     */
    @TableId
    private Integer arrivalId;

    /**
     * 逻辑关联bus_vehicle.vehicle_id
     */
    private Integer vehicleId;

    /**
     * 逻辑关联bus_stop.stop_id
     */
    private Integer stopId;

    /**
     * 预计到达时间
     */
    private Date estimatedArrivalTime;

    /**
     * 最后计算时间
     */
    private Date lastCalculatedTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}